//
//  ViewController.m
//  UI21_03_Block 实现自定义View点击事件回调
//
//  Created by 李劲成 on 16/4/7.
//  Copyright © 2016年 ljc. All rights reserved.
//

#import "ViewController.h"
#import "CustomView.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet CustomView *customView;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.customView clickEditBtn:^(UIButton *editBtn) {
        
        NSLog(@"clickEdit");
    } clickDeleBtn:^(UIButton *deleBtn) {
        
        NSLog(@"clickDele");
    }];
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
